package com.example.administrator.myapplication;

import android.content.Context;
import android.util.Log;
import com.example.administrator.myapplication.ex.ExceptionListener;

public class AllException extends ExceptionListener {

    private static final String TAG = "AllException";
    @Override
    public void before() {
        super.before();
        Log.e(TAG,"异常处理之前调用");
    }

    @Override
    public void after() {
        super.after();
        Log.e(TAG,"异常处理之后调用");
    }

    @Override
    public boolean fix(Thread thread, Throwable throwable, Context context) {
        Log.e(TAG,"异常处理中");
        return true;
    }
}
